<style>
    .div-line{
        display: inline-block;
        margin-right: 15px;
    }
</style>

    <div class="panel panel-info">
        <div class="panel-heading">
            <h3 class="panel-title">订单详情</h3>
        </div>
        <div class="panel-body">
            <div class="div-line">
                <span>订单号:</span>
                <span>{$row.order_num}</span>
            </div>
            {if condition="$row.order_type eq '团购套餐'"}
            <div class="div-line">
                <span>验劵数量:</span>
                <span>{$row.num2}张(共{$row.num1}张)</span>
            </div>
            {/if}
            <div class="div-line">
                <span>交易时间:</span>
                <span>{$row.pay_time|date='Y-m-d H:i:s',###}</span>
            </div>
            <div class="div-line">
                <span>交易类型:</span>
                <span>{$row.order_type}</span>
            </div>
            <div class="div-line">
                <span>原价:</span>
                <span>￥{$row.total_price}</span>
            </div>
            <div class="div-line">
                <span>减免价:</span>
                <span>￥{$row.jm_price}={$row.zk_price}+{$row.subtract}</span>
            </div>
        </div>

        <div class="panel-body">
            <div class="div-line">
                <span>交易金额:</span>
                <span>￥{$row.price_subtract}</span>
            </div>
            <div class="div-line">
                <span>实付金额:</span>
                <span>￥{$row.price}</span>
            </div>
            <div class="div-line">
                <span>交易方式:</span>
                {if condition="$row.order_type eq '现金支付'"}
                <span>{$row.pay_type1}</span>
                {else /}
                <span>{$row.pay_type}</span>
                {/if}
            </div>
            <div class="div-line">
                <span>店铺收益:</span>
                <span>￥{$row.shouyi}</span>
            </div>
            <div class="div-line">
                <span>分润金额:</span>
                <!--<span>￥{$row.money3}</span>-->
                <button class="btn btn-xs btn-info btn-addtabs" onclick="fenyun('{$row.order_id}','{:url("tuan/selearnings")}')" type="button">{$row.money3}</button>
            </div>
            <div class="div-line">
                <span>消费时间:</span>
                <span>{$row.used_time}</span>
            </div>
        </div>
    </div>
    <div class="panel panel-info">
        <div class="panel-heading">商家信息</div>
        <div class="panel-body">
            <div class="div-line">
                <span>商家名称:</span>
                <span>{$row.shop.shop_name}</span>
            </div>
            <div class="div-line">
                <span>商家ID:</span>
                <span>{$row.shop.account}</span>
            </div>
            <div class="div-line">
                <span>注册手机号:</span>
                <span>{$row.shop.phone}</span>
            </div>
            <div class="div-line">
                <span>归属地区:</span>
                <span>{$row.shop.city}</span>
            </div>
            <div class="div-line">
                <span>服务税点(%):</span>
                <span>{$row.remittal}</span>
            </div>

        </div>
    </div>
    {notempty name="row.user"}
        <div class="panel panel-info">
            <div class="panel-heading">
                <h3 class="panel-title">会员信息</h3>
            </div>
            <div class="panel-body">
                <div class="div-line">
                    <span>会员昵称:</span>
                    <span>{$row.user.nickname}</span>
                </div>
                <div class="div-line">
                    <span>会员ID:</span>
                    <span>{$row.user.account}</span>
                </div>
                <div class="div-line">
                    <span>注册手机号:</span>
                    <span>{$row.user.phone}</span>
                </div>
            </div>
        </div>
    {/notempty}


